Optimal. Leaf size=464 \[ -\frac {1}{2} x \sqrt [3]{a+b x^3}-\frac {2 \sqrt [3]{2} a^{2/3} \tan ^{-1}\left (\frac {1-\frac {2 \sqrt [3]{2} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt [3]{a+b x^3}}}{\sqrt {3}}\right )}{\sqrt {3} \sqrt [3]{b}}-\frac {\sqrt [3]{2} a^{2/3} \tan ^{-1}\left (\frac {1+\frac {\sqrt [3]{2} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt [3]{a+b x^3}}}{\sqrt {3}}\right )}{\sqrt {3} \sqrt [3]{b}}-\frac {a x \left (1+\frac {b x^3}{a}\right )^{2/3} \, _2F_1\left (\frac {1}{3},\frac {2}{3};\frac {4}{3};-\frac {b x^3}{a}\right )}{2 \left (a+b x^3\right )^{2/3}}-\frac {\sqrt [3]{2} a^{2/3} \log \left (2^{2/3}-\frac {\sqrt [3]{a}+\sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )}{3 \sqrt [3]{b}}+\frac {\sqrt [3]{2} a^{2/3} \log \left (1+\frac {2^{2/3} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )^2}{\left (a+b x^3\right )^{2/3}}-\frac {\sqrt [3]{2} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt [3]{a+b x^3}}\right )}{3 \sqrt [3]{b}}-\frac {2 \sqrt [3]{2} a^{2/3} \log \left (1+\frac {\sqrt [3]{2} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt [3]{a+b x^3}}\right )}{3 \sqrt [3]{b}}+\frac {a^{2/3} \log \left (2 \sqrt [3]{2}+\frac {\left (\sqrt [3]{a}+\sqrt [3]{b} x\right )^2}{\left (a+b x^3\right )^{2/3}}+\frac {2^{2/3} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt [3]{a+b x^3}}\right )}{3\ 2^{2/3} \sqrt [3]{b}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.29, antiderivative size = 464, normalized size of antiderivative = 1.00, number of steps
used = 21, number of rules used = 13, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.591, Rules used = {427, 544,
252, 251, 421, 420, 493, 298, 31, 648, 631, 210, 642} \begin {gather*} -\frac {2 \sqrt [3]{2} a^{2/3} \text {ArcTan}\left (\frac {1-\frac {2 \sqrt [3]{2} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt [3]{a+b x^3}}}{\sqrt {3}}\right )}{\sqrt {3} \sqrt [3]{b}}-\frac {\sqrt [3]{2} a^{2/3} \text {ArcTan}\left (\frac {\frac {\sqrt [3]{2} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt [3]{a+b x^3}}+1}{\sqrt {3}}\right )}{\sqrt {3} \sqrt [3]{b}}-\frac {\sqrt [3]{2} a^{2/3} \log \left (2^{2/3}-\frac {\sqrt [3]{a}+\sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )}{3 \sqrt [3]{b}}+\frac {\sqrt [3]{2} a^{2/3} \log \left (\frac {2^{2/3} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )^2}{\left (a+b x^3\right )^{2/3}}-\frac {\sqrt [3]{2} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt [3]{a+b x^3}}+1\right )}{3 \sqrt [3]{b}}-\frac {2 \sqrt [3]{2} a^{2/3} \log \left (\frac {\sqrt [3]{2} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt [3]{a+b x^3}}+1\right )}{3 \sqrt [3]{b}}+\frac {a^{2/3} \log \left (\frac {\left (\sqrt [3]{a}+\sqrt [3]{b} x\right )^2}{\left (a+b x^3\right )^{2/3}}+\frac {2^{2/3} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\sqrt [3]{a+b x^3}}+2 \sqrt [3]{2}\right )}{3\ 2^{2/3} \sqrt [3]{b}}-\frac {a x \left (\frac {b x^3}{a}+1\right )^{2/3} \, _2F_1\left (\frac {1}{3},\frac {2}{3};\frac {4}{3};-\frac {b x^3}{a}\right )}{2 \left (a+b x^3\right )^{2/3}}-\frac {1}{2} x \sqrt [3]{a+b x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 31
Rule 210
Rule 251
Rule 252
Rule 298
Rule 420
Rule 421
Rule 427
Rule 493
Rule 544
Rule 631
Rule 642
Rule 648
Rubi steps
\begin {align*} \int \frac {\left (a+b x^3\right )^{4/3}}{a-b x^3} \, dx &=\frac {\left (a \sqrt [3]{a+b x^3}\right ) \int \frac {\left (1+\frac {b x^3}{a}\right )^{4/3}}{a-b x^3} \, dx}{\sqrt [3]{1+\frac {b x^3}{a}}}\\ &=\frac {x \sqrt [3]{a+b x^3} F_1\left (\frac {1}{3};1,-\frac {4}{3};\frac {4}{3};\frac {b x^3}{a},-\frac {b x^3}{a}\right )}{\sqrt [3]{1+\frac {b x^3}{a}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 6 vs. order 5 in
optimal.
time = 10.11, size = 217, normalized size = 0.47 \begin {gather*} \frac {x \left (-4 \left (a+b x^3\right )+5 b x^3 \left (1+\frac {b x^3}{a}\right )^{2/3} F_1\left (\frac {4}{3};\frac {2}{3},1;\frac {7}{3};-\frac {b x^3}{a},\frac {b x^3}{a}\right )+\frac {48 a^3 F_1\left (\frac {1}{3};\frac {2}{3},1;\frac {4}{3};-\frac {b x^3}{a},\frac {b x^3}{a}\right )}{\left (a-b x^3\right ) \left (4 a F_1\left (\frac {1}{3};\frac {2}{3},1;\frac {4}{3};-\frac {b x^3}{a},\frac {b x^3}{a}\right )+b x^3 \left (3 F_1\left (\frac {4}{3};\frac {2}{3},2;\frac {7}{3};-\frac {b x^3}{a},\frac {b x^3}{a}\right )-2 F_1\left (\frac {4}{3};\frac {5}{3},1;\frac {7}{3};-\frac {b x^3}{a},\frac {b x^3}{a}\right )\right )\right )}\right )}{8 \left (a+b x^3\right )^{2/3}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.00, size = 0, normalized size = 0.00 \[\int \frac {\left (b \,x^{3}+a \right )^{\frac {4}{3}}}{-b \,x^{3}+a}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} - \int \frac {a \sqrt [3]{a + b x^{3}}}{- a + b x^{3}}\, dx - \int \frac {b x^{3} \sqrt [3]{a + b x^{3}}}{- a + b x^{3}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (b\,x^3+a\right )}^{4/3}}{a-b\,x^3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________